<div class="goods categories">
	<?php if(!empty($oGalleryRow) && !empty($oGalleryRow['photos'])): ?>
	<div class="slider">
		<ul class="slides">
			<?php foreach($oGalleryRow['photos'] as $oPhoto): ?>
			<li class="slide"><div class="st"><?php echo $oPhoto->title; ?></div><img alt="<?php echo $oPhoto->title; ?>" title="<?php echo $oPhoto->title; ?>" src="<?php echo $this->widget('ext.Img', array(
			                                                                                                                                     'oRow' => $oPhoto,
			                                                                                                                                     'size' => '',
			                                                                                                                                     'addSize' => false
			                                                                                                                                )); ?>" /></li>
			<?php endforeach; ?>
		</ul>
	</div>
	<script defer src="/js/jquery/glide/jquery.glide.min.js"></script>
	<?php endif; ?>

	<?php if(!empty($oRowset)): ?>
    <div class="categories">
	<?php foreach($oRowset as $oRow): ?><?php if($oRow->getPhoto()): ?><a class="section" href="<?php echo $this->createUrl('/goods/default/index', array('category_id' => $oRow->createUrlId())); ?>">
		<figure>
			<img alt="<?php echo $oRow->title; ?>" title="<?php echo $oRow->title; ?>" src="<?php echo $this->widget('ext.Img', array(
				'oRow' => $oRow->getPhoto(),
				'size' => 'list'
			)); ?>" />
		</figure>
		<div class="title"><?php echo $oRow->title; ?></div>
		</a><?php endif; ?><?php endforeach; ?>
    </div>
    <?php endif; ?>

	<?php if(!empty($oPageRow)): ?>
		<div class="page-content">
			<div class="title"><?php echo $oPageRow->title; ?></div>
			<div class="desc"><?php echo $oPageRow->description; ?></div>
		</div>
	<?php endif; ?>

</div>